
    <!-- <script type="text/javascript" charset="utf-8" src="../../../ueditor1_4_3_3/ueditor.config.js"></script> -->
    <!-- <script type="text/javascript" charset="utf-8" src="../../../ueditor1_4_3_3/ueditor.all.min.js"> </script> -->
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <!-- <script type="text/javascript" charset="utf-8" src="../../../ueditor1_4_3_3/lang/zh-cn/zh-cn.js"></script> -->

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">

  
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <!-- <button  class="layui-btn" style="float: left;" onclick="getContent()">保存图文</button> -->
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" value="审核通过" class="layui-btn">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <!-- <button  class="layui-btn" style="float: left;" onclick="getContent()">保存图文</button> -->
      <input type="button" lay-submit lay-filter="LAY-user-front-submit1" value="审核未通过" class="layui-btn">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">ID</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="id" value="{{ d.params.id || '' }}" placeholder="不用填写"  autocomplete="off" class="layui-input">
      </script>
    </div>
    <label class="layui-form-label" >姓名</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="realName" value="{{ d.params.realName || '' }}" lay-verify="realName" placeholder="姓名"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
    <label class="layui-form-label" >性别</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="sex" value="{{ d.params.sex || '' }}" lay-verify="sex" placeholder="性别"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>

    
  </div>
  <div class="layui-form-item">
    
    <label class="layui-form-label" >民族</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="nation" value="{{ d.params.nation || '' }}" lay-verify="nation" placeholder="民族"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
    <label class="layui-form-label" >出生</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="yearmouthday" value="{{ d.params.year || '' }}年{{ d.params.mouth || '' }}月{{ d.params.day || '' }}日" lay-verify="year" placeholder="出生"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>

    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="hidden" name="year" value="{{ d.params.year || '' }}" lay-verify="year" placeholder="出生"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>

    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="hidden" name="mouth"  value="{{ d.params.mouth || '' }}" lay-verify="year" placeholder="出生"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>

    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="hidden" name="day"  value="{{ d.params.day || '' }}" lay-verify="year" placeholder="出生"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>

    <label class="layui-form-label" >地址</label>
    <div class="layui-input-inline"  style="width: 400px;">
      <script type="text/html" template>
        <input type="textarea" name="addr" value="{{ d.params.addr || '' }}" lay-verify="addr" placeholder="地址"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
    
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label" >身份证</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="idCard" value="{{ d.params.idCard || '' }}" lay-verify="idCard" placeholder="身份证"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
    <label class="layui-form-label" >审核状态</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="text" name="isExamina" value="{{ d.params.isExamina || '' }}"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
    <label class="layui-form-label" >申请时间</label>
    <div class="layui-input-inline" >
      <script type="text/html" template>
        <input type="textarea" name="createTime" value="{{ d.params.createTime || '' }}" lay-verify="createTime" placeholder="创建时间"  autocomplete="off" class="contentval layui-input ">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">认证照片</label>
    
    <div class="layui-input-inline" style="width: 500px;">
      <script type="text/html" template> 
        <img style="width: 500px;" src= "{{ d.params.cardA }}"/>
      </script> 
    </div>
    <div class="layui-input-inline" style="width: 200px;">
      <script type="text/html" template> 
        <img style="width: 200px;" src= "{{ d.params.head }}"/>
      </script>
    </div>
    <div class="layui-input-inline" style="width: 200px;">
      <script type="text/html" template> 
        <img style="width: 200px;" src= "{{ d.params.cardB }}"/>
      </script> 
    </div>
  </div>  

  
</div>

<!-- <script src="../../../ueditor1_4_3_3/third-party/jquery-1.10.2.js"></script> -->
<script>
layui.use(['jquery'],function(){
  var $ = layui.jquery
  ,setter = layui.setter;
  
  var url1 = setter.myurl + 'config';
  
  // window.UEDITOR_CONFIG.serverUrl = url1;
  // var ue = UE.getEditor('editor');
  
})

// function getContent() {
//   $(".contentval").val(UE.getEditor('editor').getContent());
//   alert("已保存草稿。")
// }


layui.use(['admin', 'form', 'upload'], function(){
  var $ = layui.$
  ,form = layui.form
  ,setter = layui.setter
  ,upload = layui.upload;
  // window.UEDITOR_CONFIG = {
    // 服务器统一请求接口路径
    // serverUrl: setter.myurl + "config"
  // };
  
  
  //上传头像
  upload.render({
    elem: '#layuiadmin-upload-useradmin'
    ,url: setter.myurl + 'file/uploadPicture'
    ,accept: 'images'
    ,method: 'post'
    ,acceptMime: 'image/*'
    ,done: function(res){
      console.log(res)
      $(".mainPiccls").val(res.data);
      $(this.item).prev("div").children("input").val(res.data)
    }
  });

  //上传头像
  upload.render({
    elem: '#layuiadmin-upload-useradmin1'
    ,url: setter.myurl + 'admin/uploadMainPicture'
    ,accept: 'images'
    ,method: 'post'
    ,acceptMime: 'image/*'
    ,done: function(res){
      console.log(res)
      $(".mainPiccls1").val(res.data);
      $(this.item).prev("div").children("input").val(res.data)
    }
  });

  //上传头像
  upload.render({
    elem: '#layuiadmin-upload-useradmin2'
    ,url: setter.myurl + 'admin/uploadMainPicture'
    ,accept: 'images'
    ,method: 'post'
    ,acceptMime: 'image/*'
    ,done: function(res){
      console.log(res)
      $(".mainPiccls2").val(res.data);
      $(this.item).prev("div").children("input").val(res.data)
    }
  });
})


</script>